<template>
	<view>
		<rich-text :nodes="value"></rich-text>
	</view>
</template>

<script>
	import { config } from '../../api/common.js';
	export default {
		data() {
			return {
				value: ''
			};
		},
		onLoad() {
			this.getPrivacy();
		},
		methods:{
			getPrivacy(){
				config({ key: 'privacy_policy' }).then(res=>{
					if(res.code == 200001){
						this.value = res.data[0].value;
					}
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
